package com.guoqing.example;

import lombok.extern.slf4j.Slf4j;
import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;

@Slf4j
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
public class ActivitiApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(ActivitiApplication.class);
        ConfigurableEnvironment environment = run.getEnvironment();
        log.info(" activity2 running ......");

//        ActivityController bean = run.getBean(ActivityController.class);
//        System.out.println(bean.testActivity());
    }
}
